Don't hard code libm linking in BeOS

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>