Fix GCC build on Ubuntu.

Not tested on SL6 yet.
Remove explicit --build flag.
Use a platform-independent target file, for now.