I have an application that I have developed for Windows and took the source code into Linux to run it there using MonoProject. I open the project and run it successfully. However, my project is using 32-bit libraries and I need to compile and run my program as a 32-bit application.
I'm setting the Platform target to x86 as in the following screenshot:

I have the following code which verifies how the program is running:
    if (IntPtr.Size == 4)
    {
        Console.WriteLine("running in 32-bit");
    }
    else if (IntPtr.Size == 8)
    {
        Console.WriteLine("running in 64-bit");
    }
Even when setting Plaform target to x86 is still show as "running in 64-bit".
How can I make it run in 32-bits?